package com.cxps.server.inventory.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cxps.server.inventory.domain.InventoryInfoQuery;
import com.cxps.server.inventory.domain.InventoryKcInfoVo;
import com.cxps.server.inventory.domain.InventoryWarning;

import java.util.List;

/**
 * <p>
 * 商品库存信息表 服务类
 * </p>
 *
 * @author YouCai.Liu
 * @since 2021-11-02
 */
public interface InventoryInfoService {

    Page list(InventoryInfoQuery query);

    void warning(InventoryWarning warning) throws IllegalAccessException;

    void add(String productId, Integer kcNum);

    List<InventoryKcInfoVo> runningWater(String productId);

    Page flowingList(InventoryInfoQuery query);
}
